OLEObject.Invoke Method
Invokes a method of the COM server, and passes the array of parameters to the method. Make sure to correctly dimension the array, as this will determine the number of parameters that get passed to the method.
Syntax
OLEObject.Invoke NameOfFunction, Parameters()
Parameters | |
NameOfFunction |
|
Parameters() |
array of Variant |
The first parameter begins at 1.